/**
 * 监测参数字典
 */
(function(window, angular, undefined){

	var module = angular.module('water.entity.bcAccessParam',['water.common.AJAXService']);
	
	module.service('$bcAccessParamService',function($AJAXService){
				
		/**
		 * 获取列表
		 */
		this.getList = function(key){
			var promise = $AJAXService.post("/bcAccessParam/getList");
			return promise;
		}
		
		/**
		 * 新建
		 */
		this.create = function(model){
			var promise = $AJAXService.post("/bcAccessParam/create",model);
			return promise;
		}
		
		/**
		 * 新建
		 */
		this.update = function(model){
			var promise = $AJAXService.post("/bcAccessParam/update",model);
			return promise;
		}
		
		/**
		 * 新建
		 */
		this.deleteModel = function(id){
			var promise = $AJAXService.post("/bcAccessParam/delete",{id:id});
			return promise;
		}
		
	})
}(window, angular));